package com.laborder.sysyy.service.annoncement;
import com.laborder.sysyy.entity.Announce;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AnnounceService {

	 List<Announce> findAnnounceWithPage(Map<String,Object>map);

	int getAnnounceCount(Map<String,Object> map);

	int saveAnnounceInfo(Announce announce);

	boolean updateAnnounceInfo(Announce announce);
	

	boolean delAnnounceInfo(int aId);

	
	Announce getAnnounceByIdInfo(int aId);

	/**
	 * @function: 根据名称和内容查重
	 * @author: 759057893@qq.com lyz
	 * @date: 2019/1/16 14:57
	 */
	Announce getAnnounceInfoByName(@Param("aName")String aName, @Param("aDesc")String  aDesc);
}
